<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
SimpleDateFormat nowdate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 
String time = nowdate.format(new java.util.Date());
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AddMsg or EditMsg</title>
</head>
<body>

<br/><br/>
<form action="editMsg">
	<table align="center">
		<tr>
			<td align="right">Account:</td>
			<td>
				<input type="text" id="userid" name="userid" value="account" />${p.useridMsg }
				<img style="Display:none">
			</td>
		</tr>
		<tr>
			<td align="right">Nickname:</td>
			<td>
				<input type="text" id="nickname" name="nickname" value="nickname" />${p.nicknameMsg }
			</td>
		</tr>
		<tr>
			<td align="right">Title:</td>
			<td>
				<input type="text" id="title" name="title" value="title" />${p.titleMsg }
			</td>
		</tr>
		<tr>
			<td align="right">Content:</td>
			<td>
				<textarea id="content" name="content" rows="4" cols="50">content</textarea>
			</td>
		</tr>
		<tr>
			<td align="right">Update:</td>
			<td>
				<input type="text" id="time" name="time" value="<%=time %>" readonly="readonly" style="background-color:#D1D1D1"/>
			</td>
		</tr>
		<tr>
			<td align="center" colspan="2">
				<input type="submit" value="submit"/>
			</td>
		</tr>
	</table>
</form>

</body>
</html>